/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hibernate.dao.impl;

import hibernate.GenericDAOHibernate;
import hibernate.dao.ProveedorDAO;
import hibernate.entidades.Proveedores;
import hibernate.exception.BussinessException;


/**
 *
 * @author ariel
 */
public class ProveedorDAOImpl extends GenericDAOHibernate<Proveedores, String> implements ProveedorDAO {

    @Override
    public String getNameById(String id) throws BussinessException{
        return super.get(id).getNombre();
    }
    
}
